#!/usr/bin/python
import random
list = [9,4,6,2,8,5,7,1]

# Define the pivot
pivot = random.choice(list)
current_element = list[0]

# Find all the elemets larger than the pivot
# and place them on the right of the wall.
# The wall is the left side of current_element
# variable

for number in range(len(list)):
	if list[number] == pivot:
		continue
	if list[number] > pivot:
		list[] = list[]
